package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/21
 * Time: 13:51
 * Description:
 */
@Data
@TableName("t_sys_img")
@ApiModel(value = "TSysImgEntity", description = "数据库-图片表")
public class TSysImgEntity extends AbstractPageEntity {
    @TableId(value = "img_id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String imgId;

    @TableField("img_url")
    @ApiModelProperty(value = "图片地址", dataType = "String", notes = "图片地址")
    private String imgUrl;

    @TableField("img_type")
    @ApiModelProperty(value = "图片类型，码值", dataType = "String", notes = "图片类型，码值")
    private String imgType;

    @TableField("business_id")
    @ApiModelProperty(value = "图片对应的业务id 例如：项目表id", dataType = "String", notes = "图片对应的业务id 例如：项目表id")
    private String businessId;

    @TableField("img_sequence")
    @ApiModelProperty(value = "图片顺序，递增 0第一个展示", dataType = "Integer", notes = "图片顺序，递增 0第一个展示")
    private Integer imgSequence;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "Date", notes = "创建时间")
    private Date create_time;
}
